package com.ego.item.service;

import com.ego.common.utils.PageResult;
import com.ego.item.pojo.Brand;

import java.util.List;

public interface BrandService {
    PageResult<Brand> getPageResult(Integer pageNo, Integer pageSize, String sortBy, Boolean descending, String key);

    void addBrand(Brand brand, List<Long> cids);

    void update(Brand brand, List<Long> cids);

    void deleteById(Long id);

    List<Brand> getListByCid(Long cid);

    Brand queryBrandById(Long id);

    List<Brand> queryBrandListByBrandIds(List<Long> ids);
}
